﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SweetSQL.Data
{
    /// <summary>
    /// Database connection type enumeration
    /// </summary>
    public enum ConnectionType
    {
        /// <summary>
        /// MS SQL Server
        /// </summary>
        SqlServer,
        /// <summary>
        /// MySQL
        /// </summary>
        MySql,
        /// <summary>
        /// Oledb
        /// </summary>
        OleDb,
        /// <summary>
        /// Odbc
        /// </summary>
        Odbc,
        /// <summary>
        /// SQLite
        /// </summary>
        SQLite,
        /// <summary>
        /// Pervasive SQL
        /// </summary>
        Psql,
    }

    /// <summary>
    /// Database syntax type
    /// </summary>
    public enum SyntaxType
    {
        /// <summary>
        /// MS SQL Server (TSQL)
        /// </summary>
        SqlServer,
        /// <summary>
        /// MySQL 
        /// </summary>
        MySql,
        /// <summary>
        /// Open - Oledb or Odbc default
        /// </summary>
        Open,
        /// <summary>
        /// SQLite
        /// </summary>
        SQLite,
        /// <summary>
        /// Pervasive SQL
        /// </summary>
        Psql,
    }

    internal delegate void DynamicSet(object source, object value);
    internal delegate object DynamicGet(object source);
}